<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>图片修改</title>
<link rel="stylesheet" type="text/css" href="template/admin.css"/>
<script type="text/javascript" src="template/images/jquery.js"></script>
<script type="text/javascript" src="template/images/form.js"></script>
<style type="text/css">
body{margin:20px;}
</style>

</head>

<body>
<div class="div_out">
 <div class="position"><h2>当前位置 ><a href="?"> >图片管理</a> > 图片修改</h2></div>
</div><!--导航-->

<div class="div_out" id="tb">
	<form name="add_cata" action="?" method="post" class="form">
 <table cellpadding="0" cellspacing="0" width="100%">
 	<thead>
		<tr><th class="w1">参数</th><th style="width:80%">参数值</th></tr>
	</thead>
	<tbody>
		<tr>
		  <td class="w1" style="text-align:center">图片名称：</td><td style="width:80%"><a href="<?php echo $img;?>" target="_blank"><img src="<?php echo $img;?>" border="0" width="90" height="90" /></a></td>
		</tr>
		<tr>
		  <td class="w1" style="text-align:center">缩略图：</td><td style="width:80%"><input type="radio" name="is_thumb" value="1" style="margin:0 5px;border:0" />是<input type="radio" value="0" name="is_thumb" style="margin:0 5px; border:0"  checked="checked"/>否</td>
		</tr>
		<tr>
		  <td class="w1" style="text-align:center">缩略图大小：</td><td style="width:80%"><input type="text" style="width:50px;" name="thumb_width" value="<?php echo $_sys['thump_width'];?>" />宽&nbsp;&nbsp;<input type="text" name="thumb_height" style="width:50px;" value="<?php echo $_sys['thump_height'];?>" />高</td>
		</tr>
		<tr>
		  <td class="w1" style="text-align:center">图片alt：</td><td style="width:80%"><input type="text" value="<?php echo $rel[0]['pic_alt'];?>" style="width:200px;" name="pic_alt" /></td>
		</tr>
		</tbody>
 </table>
 <div class="btn" style="margin-top:10px">
<input type="hidden" name="action" value="save_edit"/><input type="hidden" name="pic_path" value="<?php echo $rel[0]['pic_path'];?>" /><input type="hidden" name="pic_name" value="<?php echo $rel[0]['pic_name'];?>" /><input type="hidden" name="pic" value="<?php echo $pic;?>" /><input type="hidden" name="pic_ext" value="<?php echo $rel[0]['pic_ext'];?>" /><input type="hidden" name="id" value="<?php echo $rel[0]['id'];?>"/><input type="hidden" value="<?php echo $rel[0]['pic_thumb'];?>" name="pic_thumb"/>
  <input type="submit" value="确定" name="xg_category" class="go"/><input type="reset" style="margin:0 10px;" class="go" value="重置" name="reset"/>
 </div>
 </form>
</div>
</body>
</html>
